package com.koron.ticket.fake.work.mapper;

import com.koron.ticket.fake.work.bean.SecurityFakeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: rocky
 * @Date: 2022/1/5 15:08
*/
public interface SecurityFakeMapper {
    int deleteByPrimaryKey(String id);

    int insert(SecurityFakeBean record);

    int insertOrUpdate(SecurityFakeBean record);

    int insertOrUpdateSelective(SecurityFakeBean record);

    int insertSelective(SecurityFakeBean record);

    SecurityFakeBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SecurityFakeBean record);

    int updateByPrimaryKey(SecurityFakeBean record);

    int updateBatch(List<SecurityFakeBean> list);

    int updateBatchSelective(List<SecurityFakeBean> list);

    int batchInsert(@Param("list") List<SecurityFakeBean> list);

    int deleteByFakeTicketId(@Param("fakeTicketId")String fakeTicketId);

    List<SecurityFakeBean> queryByFakeTicketId(@Param("fakeTicketId")String fakeTicketId);




}
